//完整引入element-plus资源
import 'element-plus/dist/index.css'
import ElementPlus from 'element-plus'

import { createApp } from 'vue'
import  pinia from './stores'

import App from './App.vue'
import router from './router'

//初始化esri的apikey
import esriConfig from '@arcgis/core/config.js'
esriConfig.apiKey =
  'AAPTxy8BH1VEsoebNVZXo8HurCtC-3_RodtzTIlurSLGx2zNKtV6k0ijufUBJjJlnVSTo6hOSUh6Vjlf_wK7HO6rwmVbS7EV_5F6_XPesGHpmcZrIWmJQMAH6rtWwW0NlRJemrXjtMdA9Dgi6td4QW4mjV2RAg1qu9ahG8MLiO6xTiF9XuDtUSTUiRT6uuOgwqbfCHZSF_GINY8BhSySOFojeg5522mNw_oqiN8lwumLPasitjhmGuGVT_TcoDVhc3oXAT1_6EX0aNQR'
//初始化esri语言
import * as intl from '@arcgis/core/intl.js'
intl.setLocale('zh-CN')

const app = createApp(App)
app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
